Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.AvalonDock Assembly / Xceed.Wpf.AvalonDock.Layout Namespace / Extensions Class / ContainsChildOfType Method / ContainsChildOfType<T,S>(ILayoutContainer) Method
A type to search
A type to search for.
The container to search.


    ContainsChildOfType<T,S>(ILayoutContainer) Method
    Indicates whether a child of a either one of the specified type is contained in the ILayoutContainer.
    Syntax
    'Declaration
     
    <ExtensionAttribute()>
    Public Overloads Shared Function ContainsChildOfType
        (Of T,S)( _
       ByVal container As ILayoutContainer _
    ) As Boolean
     
    'Usage
     
    Dim container As ILayoutContainer
    Dim value As Boolean
     
    value = Extensions.ContainsChildOfType(Of T, S)(container)

    Parameters

    container
    The container to search.

    Type Parameters

    T
    A type to search
    S
    A type to search for.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also